#ifndef RECORDCONFIG_H
#define RECORDCONFIG_H

#include <QObject>
#include <QApplication>
#include <QSettings>
#include <QVariant>

class RecordConfig : public QObject
{
    Q_OBJECT
public:
    static RecordConfig* config();
    void setRecordDev(QString devName);
    void setMapFilePath(QString path);

    QString getRecordDev();
    QString getMapFilePath();

private:
    explicit RecordConfig(QObject *parent = 0);
    static RecordConfig* c;
    QString settingsFile;

    void setConfig(QString key, QVariant val);
    QVariant getConfig(QString key, QVariant defaultVal);

signals:

public slots:
};

#endif // RECORDCONFIG_H
